//导航路由

import sysManage from './sysManage.js'
import mobileManage from './mobileManage.js'
import patrolManage from './patrolManage.js'
 export default [
    {
        name: 'index',
        path: '/',
        alias:'/index',
        redirect:'/onepage',
        component: resolve => require(['../views/nav/index.vue'], resolve),
        meta:{permission:true},
        children:[
          // {
          //   name:"home",
          //   path:"/home",
          //   component:resolve => require(['../views/home/index.vue'], resolve),
          // },
          {
            name:"onepage",
            path:"/onepage",
            component:resolve => require(['../views/one-page/index.vue'], resolve),
          },
          {
            name:"workbench",
            path:"/workbench",
            component:resolve => require(['../views/workbench/index.vue'], resolve),
            redirect:"/gdcs/patrol-list",
            children:[
                ...sysManage,
                ...mobileManage,
				...patrolManage
				
            ]
          },
        ]
      }
      
  ]